import type { App } from 'vue';
import chooseArea from "./chooseArea/index.ts";
import chooseIcon from "./chooseIcon/index.ts";
import trend from "./trend/index.ts";
import notification from "./notification/index.ts";
import list from "./list/index.ts";
import menu from "./menu/index.ts";
import time from "./time/index.ts";
import progress from "./progress/index.ts";
import calendar from "./calendar/index.ts";
import test from "./test/index.ts";
import date from "./date/index.ts";
import city from "./city/index.ts";



const components = [chooseArea, chooseIcon, trend, notification, list, menu, time, progress, calendar, test, date, city];
export default {
  install(app: App) {
    components.map((item) => {
      // 注册 插件对象
      app.use(item)
    });
  }
};